package de.softcon.mobileoffence;

import de.softcon.mobileoffence.persistence.MobileOffenceDatabaseAdapter;
import android.app.Activity;
import android.content.Intent;
import android.database.sqlite.SQLiteOpenHelper;
import android.os.Bundle;
import android.view.View; 
import android.widget.Button;
import android.widget.Toast;

public class Login extends Activity {
	
	public void onCreate(Bundle icicle) 
	{
		super.onCreate(icicle);
		this.setContentView(R.layout.login);

        final Button loginButton = (Button) findViewById(R.id.loginButton);
        loginButton.setOnClickListener(new View.OnClickListener() 
        {			
			public void onClick(View v) 
			{
				startActivity(new Intent(Login.this, HomePage.class));
			}
		});
	}
}
